package com.qiangesoft.calendar.mxnzp.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 日历配置 响应类
 *
 * @author qiangesoft
 * @date 2023-10-19 22:28:02
 */
@Data
@ApiModel(value = "日历配置")
public class CalendarConfigDTO {

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "年份")
    private Integer year;

    @ApiModelProperty(value = "月份")
    private Integer month;

    @ApiModelProperty(value = "日期")
    private String date;

    @ApiModelProperty(value = "类型")
    private String type;

    @ApiModelProperty(value = "类型描述")
    private String typeDes;

    @ApiModelProperty(value = "本周第几天")
    private Integer weekDay;

    @ApiModelProperty(value = "年中第几天")
    private Integer dayOfYear;

    @ApiModelProperty(value = "年中第几周")
    private Integer weekOfYear;

    @ApiModelProperty(value = "当月的第几个工作日")
    private Integer indexWorkDayOfMonth;

    @ApiModelProperty(value = "农历日期")
    private String lunarCalendar;

    @ApiModelProperty(value = "节气描述")
    private String solarTerms;

    @ApiModelProperty(value = "天干地支纪年法")
    private String yearTips;

    @ApiModelProperty(value = "属相")
    private String chineseZodiac;

    @ApiModelProperty(value = "星座")
    private String constellation;

    @ApiModelProperty(value = "宜事项")
    private String suit;

    @ApiModelProperty(value = "忌事项")
    private String avoid;

    @ApiModelProperty(value = "创建人id")
    private Long createUser;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新人id")
    private Long updateUser;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

}
